/*
 * Copyright 1999-2004 Alibaba.com All right reserved. This software is the confidential and proprietary information of
 * Alibaba.com ("Confidential Information"). You shall not disclose such Confidential Information and shall use it only
 * in accordance with the terms of the license agreement you entered into with Alibaba.com.
 */
package com.liangdev.biz.service.common;

import java.util.List;

import com.liangdev.biz.dataobject.common.SysConfigDO;
import com.liangdev.biz.query.common.SysConfigQuery;
import com.liangdev.common.base.service.GenericService;

/**
 * 类DomainDeletedService.java的实现描述：TODO 类实现描述
 * 
 * @author chongan.wangca 2012-4-18 下午11:59:51
 */
public interface SysConfigService extends GenericService<SysConfigDO, SysConfigQuery> {

    /**
     * 根据组名查询
     * 
     * @param groupName
     * @return
     */
    public List<SysConfigDO> findByGroupName(String groupName);

    /**
     * 根据ID更新值
     * 
     * @param id
     * @param value
     * @return
     */
    public boolean updateValueById(Long id, String value);

    /**
     * 根据组名和变量名更新变量的值
     * 
     * @param groupName
     * @param name
     * @param value
     * @return
     */
    public boolean updateValueByGroupNameAndName(String groupName, String name, String value);
}
